package com.gifts.ui.page.selectafriend;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridLayout;

import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;

import com.gifts.ui.page.common.JMainPanel;
/**
 * JSelectAFriendsPanel
 * @author dmaung
 *
 */
public class JSelectAFriendsPanel extends JPanel {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private JUpcomingBirthdayPanel upcomingBirthdayPanel;
	
	private JSearchFriendsPanel searchFriendsPanel;
	
	//private JMainPanel mainPanel;
	
	
	public JSelectAFriendsPanel() {
		BorderLayout gridLayout = new BorderLayout();
		setLayout(gridLayout);
		
		upcomingBirthdayPanel = new JUpcomingBirthdayPanel();
		upcomingBirthdayPanel.setPreferredSize(new Dimension(800,330));
	//	upcomingBirthdayPanel.repaint();
	
		//upcomingBirthdayPanel.revalidate();
		searchFriendsPanel = new JSearchFriendsPanel();
		searchFriendsPanel.setPreferredSize(new Dimension(800,350));
		
		searchFriendsPanel.revalidate();
		//searchFriendsPanel.revalidate();
		
		add(upcomingBirthdayPanel,BorderLayout.NORTH);
		add(searchFriendsPanel,BorderLayout.CENTER);
		
	}
	
	public JUpcomingBirthdayPanel getJUpcomingBirthdayPanel() {
		return upcomingBirthdayPanel;
	}
	
	
	public JSearchFriendsPanel getJSearchFriendsPanel() {
		return searchFriendsPanel;
	}
	
	

}
